#include<stdio.h>
#include<stdlib.h>
int main()
{
FILE *fp;
char an='Y';
struct p
{
char user[10];
char pass[10];
}
e; 
fp=fopen("h.txt","r");
if(fp==NULL)
{
puts("cannot open file");
exit(1);
}
while(fscanf(fp,"%s %s",e.user,e.pass)!=EOF)
printf("%s %s\n",e.user,e.pass);
fclose(fp);
return 0;
}